from User import User


class Privileges:

    def __init__(self, privileges):
        self.privileges = privileges

    def show_privileges(self, first_name, last_name):
        print(
            f"{first_name.title()} {last_name.title()} has privilege(s): {self.privileges}.")


class Admin(User):

    def __init__(self, first_name, last_name, privileges):
        super().__init__(first_name, last_name)
        self.privileges = Privileges(privileges)
